package com.wwj.service.impl;

import com.wwj.entity.OrderDataDO;
import com.wwj.mapper.UserMapper;
import com.wwj.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @BelongsProject: MySSM002
 * @BelongsPackage: com.wwj.service.impl
 * @Author: WWJ
 * @CreateTime: 2025-08-17 12:02
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public class UserService implements IUserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<OrderDataDO> queryOrderAndStudentLists() {
        List<OrderDataDO> orderDataDOS = userMapper.queryOrderAndStudentLists();
        return orderDataDOS;
    }
}
